// 统一api出口
import { userLogin, userSendSms, getUserInfo, getUserChannels, addFollow, deleteFollow, getUserProfile, updateUserAvatar, updateUserProfile } from './user.js'
import { getArticleList, getArticleById, addCollect, deleteCollect, addlike, deleteLike } from './article.js'
import { getAllChannels, addUserChannel, deleteUserChannel } from './channel.js'
import { getSearchSuggestions, getSearchResult } from './search.js'
import { getComments, addCommentLike, deleteCommentLike, addComment } from './comment.js'

export const updateUserProfileAPI = updateUserProfile
export const updateUserAvatarAPI = updateUserAvatar
export const getUserProfileAPI = getUserProfile
export const addCommentAPI = addComment
export const addCommentLikeAPI = addCommentLike
export const deleteCommentLikeAPI = deleteCommentLike
export const getCommentsAPI = getComments
export const addlikeAPI = addlike
export const deleteLikeAPI = deleteLike
export const addCollectAPI = addCollect
export const deleteCollectAPI = deleteCollect
export const addFollowAPI = addFollow
export const deleteFollowAPI = deleteFollow
export const userLoginAPI = userLogin
export const userSendSmsAPI = userSendSms
export const getUserInfoAPI = getUserInfo
export const getUserChannelsAPI = getUserChannels
export const getArticleListAPI = getArticleList
export const getAllChannelsAPI = getAllChannels
export const addUserChannelAPI = addUserChannel
export const deleteUserChannelAPI = deleteUserChannel
export const getSearchSuggestionsAPI = getSearchSuggestions
export const getSearchResultAPI = getSearchResult
export const getArticleByIdAPI = getArticleById
